const ids = new Set<number>();

export const createId = () => {
	let id: number;
	do id = Math.floor(10000000 + Math.random() * 90000000);
	while (ids.has(id));
	ids.add(id);
	return id;
};
